<form name="cpform" method="post" autocomplete="off" action="?{$server_url}&selall=yes" id="cpform">
  <input type="hidden" name="formhash" id="formhash" value="{FORMHASH}" />
  <input type="hidden" name="page" value="{$page}" />
  <table class="tb tb2 nobdb">
    <tbody>
      <tr class="header">
        <th>&nbsp;&nbsp;</th>
        <th>{lang csdn123com_kuaibao:csdn123_tishi_tip41}</th>
        <th>{lang csdn123com_kuaibao:csdn123_tishi_tip70}</th>
        <th>{lang csdn123com_kuaibao:csdn123_tishi_tip71}</th>
        <th>{lang csdn123com_kuaibao:csdn123_tishi_tip73}</th>
        <th>{lang csdn123com_kuaibao:csdn123_tishi_tip60}</th>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td><a class="addtr" href="?{$server_url}&getrecord=yes&formhash={FORMHASH}">{lang csdn123com_kuaibao:csdn123_tishi_tip42}</a></td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <!--{loop $postRs $post}-->
      
      <tr class="hover">
        <td><input type="checkbox" name="idarray[]" value="{$post['ID']}" /></td>
        <td><a href="{eval echo dhtmlspecialchars($post['fromurl'])}" target="_blank">{eval echo dhtmlspecialchars($post['subject'])}</a></td>
        <td><!--{eval echo getFidName($post['fid'])}--></td>
        <td><!--{eval echo getTypeidName($post['typeid'],$post['fid'])}--></td>        
        <td id="myid{$post['ID']}">
        
        	<a href="?{$server_url}&update_id={$post['ID']}&page={$page}&formhash={FORMHASH}">{lang csdn123com_kuaibao:csdn123_tishi_tip67}</a>&nbsp;|&nbsp; 
            <a href="?{$server_url}&import_id={$post['ID']}&page={$page}&formhash={FORMHASH}" onClick="importtobbs('myid{$post['ID']}')">{lang csdn123com_kuaibao:csdn123_tishi_tip68}</a>&nbsp;|&nbsp; 
            <a href="?{$server_url}&del={$post['ID']}&page={$page}&formhash={FORMHASH}">{lang csdn123com_kuaibao:csdn123_tishi_tip69}</a>
            
         </td>
      </tr>
      
      <!--{/loop}-->
      
      <tr>
        <td colspan="7"><div style="margin:8px 0;">
            <input name="chkall" id="chkall" type="checkbox" class="checkbox" onclick="checkAll('prefix', this.form, 'idarray', 'chkall')" />
            <label for="chkall">{lang csdn123com_kuaibao:csdn123_tishi_tip77}</label>
            &nbsp;&nbsp;
            <input type="submit" value="{lang csdn123com_kuaibao:csdn123_tishi_tip78}" name="selimport" class="btn" id="selimport" onClick="this.value='{lang csdn123com_kuaibao:csdn123_tishi_tip81}'" />
            &nbsp;&nbsp;&nbsp;&nbsp;
            <input type="submit" value="{lang csdn123com_kuaibao:csdn123_tishi_tip79}" name="seldelete" class="btn" />
          </div></td>
      </tr>
    </tbody>
  </table>
  <div class="pg" style="margin-top:16px;"> <a href="?{$prePage}&formhash={FORMHASH}">{lang csdn123com_kuaibao:csdn123_tishi_tip46}</a> &nbsp;&nbsp;{$page}&nbsp;&nbsp; <a href="?{$nextPage}&formhash={FORMHASH}">{lang csdn123com_kuaibao:csdn123_tishi_tip47}</a> </div>
</form>
<script>
function importtobbs(myid)
{
	document.getElementById(myid).innerHTML='<span style="color:red">{lang csdn123com_kuaibao:csdn123_tishi_tip81}</span>';
}
</script>